package com.hzdl.car.service;

import com.github.pagehelper.PageInfo;
import com.hzdl.car.bean.Car;
import com.hzdl.car.bean.Customer;
import com.hzdl.car.bean.Rent;
import com.hzdl.car.vo.RentVo;

import java.util.List;

public interface RentService {
    int add(RentVo rentVo);
    Customer findById(String identity);
    PageInfo<Rent> findWhere(RentVo rentVo);
    int update(RentVo rentVo);
    int delete(String rentid);
    Car findByrentId (String rentid);
    Rent findByIdrent(String rentid);
}
